package com.topisv.tms.entity.stock.check;

import java.io.Serializable;
import java.util.Date;
import javax.persistence.Entity;
import javax.persistence.Table;
import javax.persistence.Transient;
import com.topisv.tms.entity.AreaGroup;
import com.topisv.tms.entity.Customers;
import com.topisv.tms.entity.IdEntity;
import com.topisv.tms.entity.User;

/**
 * 盘点计划
 * @author ch
 *
 */
@Entity
@Table(name="check_plan")
public class CheckPlan extends IdEntity implements Serializable
{
    private static final long serialVersionUID = 1L;
    private String customerCode;
    private String warehouseCode;
    private String planCode;
    private String planType;
    private String createrUuid;
    private Date createTime;
    private String status;
  
	public String getCustomerCode() {
		return customerCode;
	}
	public void setCustomerCode(String customerCode) {
		this.customerCode = customerCode;
	}
	public String getWarehouseCode() {
		return warehouseCode;
	}
	public void setWarehouseCode(String warehouseCode) {
		this.warehouseCode = warehouseCode;
	}
	public String getPlanCode() {
		return planCode;
	}
	public void setPlanCode(String planCode) {
		this.planCode = planCode;
	}
	public String getPlanType() {
		return planType;
	}
	public void setPlanType(String planType) {
		this.planType = planType;
	}
	public String getCreaterUuid() {
		return createrUuid;
	}
	public void setCreaterUuid(String createrUuid) {
		this.createrUuid = createrUuid;
	}
	public Date getCreateTime() {
		return createTime;
	}
	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}
	public String getStatus() {
		return status;
	}
	public void setStatus(String status) {
		this.status = status;
	}
	
	//dto属性
	
	private Customers customer;
	private AreaGroup warehouse;
	private User creater;

	@Transient
	public Customers getCustomer() {
		return customer;
	}
	public void setCustomer(Customers customer) {
		this.customer = customer;
	}
	
	@Transient
	public AreaGroup getWarehouse() {
		return warehouse;
	}
	public void setWarehouse(AreaGroup warehouse) {
		this.warehouse = warehouse;
	}
	
	@Transient
	public User getCreater() {
		return creater;
	}
	public void setCreater(User creater) {
		this.creater = creater;
	}
	
	
	
  
  

}